package com.sumainfor.pc.market.service.gmio;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.dao.gmio.TcmktPactTemplateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Map;

/**
 * <p>
 *  合同模板信息
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-05-28 15:39
 **/
@Service
public class TcmktPactTemplateService implements Serializable {

    @Autowired
    TcmktPactTemplateMapper tcmktPactTemplateMapper;

    /**
    * <p>
    * 根据合同主表编号串水电燃气的收费标准
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
    public JsonResult getTpTemplate(Map<String,Object> params){
        JsonResult result = new JsonResult();
        return result.put(tcmktPactTemplateMapper.getTpTemplate(params));
    }
}
